<div ng-controller="charge" >
<div class="ngdialog-message">

<form class="form-horizontal" method="get" action="#">
<style>
.col-sm-2 {padding-left: 0;}
.col-sm-1 {width: 9.333333%;}
.ngdialog-close{display:none;}
.chargehead{
    color:#fff;
    background-color:#ff9a66;
}
 .ngdialog.ngdialog-theme-plain>div.ngdialog-content{
    padding:0;
}
.form-horizontal .form-group {
    margin-right: -15px;
    margin-left: 0px; 
}
</style>
<div class="panel-heading font-bold chargehead" id='chargehead'>
    充值金额
</div>
<div class="panel-body">

    <div class="form-group">
        <label class="col-sm-2 control-label">充值金额</label>
    </div>
    <div class="col-sm-4">
          <div class="input-group m-b">
            <input type="number" ng-model="amount" class="form-control" placeholder='￥' required>
            <span class="input-group-addon">元</span>
        </div>
         <div class="input-group m-b">
            <span style="color:red" ng-show="$scope.amount.$dirty && $scope.amount.$invalid">
            <span ng-show="$scope.amount.$error.required">！请输入充值金额</span>
            </span>
        </div>
        
    </div>
    
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
<div class="ngdialog-buttons">
    <button type="button" class="ngdialog-button ngdialog-button-secondary" ng-click="closeThisDialog()">关闭</button>
    <button type="button" class="ngdialog-button ngdialog-button-primary" ng-click="modifySure()">确定</button>
</div>

</form>
</div>